package com.finer.entity.document;

import lombok.Data;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.io.Serializable;

/**
 * 客户表(FinerCustomer)实体类
 *
 * @author makejava
 * @since 2024-10-21 10:20:37
 */
@Data
public class FinerCustomer implements Serializable {
    private static final long serialVersionUID = -67928367657211429L;
    /**
     * Id.
     */
    private Integer Id;
    /**
     * 客户编号.
     */
    private String cusCode;
    /**
     * 客户名称.
     */
    private String cusName;
    /**
     * 客户联系方式.
     */
    private String cusPhone;
    /**
     * 创建人.
     */
    private Integer createBy;
    /**
     * 创建时间.
     */
    private Date createDate;
    /**
     * 修改人.
     */
    private Integer modifyBy;
    /**
     * 修改时间.
     */
    private Date modifyDate;
    /**
     * 0-存在，1-删除.
     */
    private Integer isDel;

    private String createName;

    private String modifyName;

    private String createStr;

    public String getCreateStr() {
        SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        this.createStr = formatter.format(this.createDate);
        return createStr;
    }

    public void setCreateStr(String createStr) {
        this.createStr = createStr;
    }

    public void setModifyStr(String modifyStr) {
        this.modifyStr = modifyStr;
    }

    public String getModifyStr() {
        SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        this.modifyStr = formatter.format(this.modifyDate);
        return modifyStr;
    }



    private String modifyStr;

    public Integer getId() {
        return Id;
    }

    public void setId(Integer Id) {
        this.Id = Id;
    }

    public String getCusCode() {
        return cusCode;
    }

    public void setCusCode(String cusCode) {
        this.cusCode = cusCode;
    }

    public String getCusName() {
        return cusName;
    }

    public void setCusName(String cusName) {
        this.cusName = cusName;
    }

    public String getCusPhone() {
        return cusPhone;
    }

    public void setCusPhone(String cusPhone) {
        this.cusPhone = cusPhone;
    }

    public Integer getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Integer createBy) {
        this.createBy = createBy;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Integer getModifyBy() {
        return modifyBy;
    }

    public void setModifyBy(Integer modifyBy) {
        this.modifyBy = modifyBy;
    }

    public Date getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

}

